package HomeWork10;

public class Work7Increment implements Runnable {
	    @Override
	    public void run() {
	        while (true) {
	            Work7.increment();
	            try {
	                Thread.sleep(100); 
	            } catch (InterruptedException e) {
	                e.printStackTrace();
	            }
	        }
	    }
	}

